package com.woniuxy.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.user.entity.UserAreaInfo;
import com.woniuxy.user.mapper.SysUserRoleMapper;
import com.woniuxy.user.service.UserAreaInfoService;
import com.woniuxy.user.mapper.UserAreaInfoMapper;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author ASUS
* @description 针对表【user_area_info(用户登录表)】的数据库操作Service实现
* @createDate 2025-10-16 20:03:56
*/
@Service
@AllArgsConstructor
public class UserAreaInfoServiceImpl extends ServiceImpl<UserAreaInfoMapper, UserAreaInfo>
    implements UserAreaInfoService{
    private SysUserRoleMapper sysUserRoleMapper;
    @Override
    public List<String> getRmByUsername(String username) {
        return sysUserRoleMapper.getRmByUsername(username);
    }
}




